import { lazy } from "react";
const OrderRouter = [

  //订单模块
  {
    path: "/views/order/list",
    name: "系统订单",
    Component: lazy(() => import("@/pages/OrderModule/orderList/system"))
  },
  {
    path: "/views/order/ship",
    name: "打单发货",
    Component: lazy(() => import("@/pages/OrderModule/orderList/orderShip"))
  },
  {
    path: "/views/order/unpay",
    name: "待支付订单",
    Component: lazy(() => import("@/pages/OrderModule/orderList/unpay"))
  },
  {
    path: "/views/order/rule",
    name: "订单规则",
    Component: lazy(() => import("@/pages/OrderModule/orderRule/index"))
  },
  {
    path: "/views/order/excel",
    name: "表格导单",
    Component: lazy(() => import("@/pages/OrderModule/importOrder/index"))
  },
  {
    path: "/views/order/history",
    name: "历史订单",
    Component: lazy(() => import("@/pages/OrderModule/orderList/history"))
  },
  {
    path: "/trade/return",
    name: "物流回传",
    Component: lazy(() => import("@/pages/OrderModule/ordersReturn/index"))
  },

  //售后
  {
    path: "/views/afterSales/salesOrder",
    name: "售后单",
    Component: lazy(() => import("@/pages/OrderModule/salesOrder/index"))
  },
  {
    path: "/views/afterSales/receiptReturn",
    name: "快递登记",
    Component: lazy(() => import("@/pages/OrderModule/receiptReturn/index"))
  },
  {
    path: "/views/afterSales/scanRegistration",
    name: "售后扫描登记",
    Component: lazy(() => import("@/pages/OrderModule/scanRegistration/index"))
  },
  {
    path: "/views/afterSales/FmcmReturns",
    name: "快销退货",
    Component: lazy(() => import("@/pages/OrderModule/fmcmReturns/index"))
  },
  {
    path: "/trade/refund",
    name: "代发售后",
    Component: lazy(() => import("@/pages/OrderModule/orderRefund/index"))
  },
]

export default OrderRouter;